package com.qys.livesMall.shop.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.framework.mapper.QysBaseMapper;
import com.qys.livesMall.shop.modal.dto.*;
import com.qys.livesMall.shop.modal.dto.shop.order.OrderReturnSearch;
import com.qys.livesMall.shop.modal.entity.ShopOrderReturnApproved;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gmx
 * @since 2023-06-23
 */
@Mapper
public interface ShopOrderReturnApprovedMapper extends QysBaseMapper<ShopOrderReturnApproved, OrderReturnSearch> {
    Page<OrderReturnDto> joinQuery (Page<OrderReturnDto> page,@Param("data") QueryReturn data);
    Page<OrderReturnDto> joinQueryAll (Page<OrderReturnDto> page,@Param("data") QueryReturn data);
    List<OrderReturnDto> joinQueryProcess (@Param("data") QueryReturn data);
    Page<ShopOrderReturnApprovedDto> joinExperss (Page<ShopOrderReturnApprovedDto> page, @Param("data") SysQueryReturn data);
    OrderReturnDto joinQueryById (@Param("id")Long id);

}
